import 'package:flutter/material.dart';
import 'package:myflutterproject/paddingdemo.dart';
import 'package:myflutterproject/picwidgets.dart';
import 'package:myflutterproject/progress.dart';
import 'package:myflutterproject/radio.dart';
import 'package:myflutterproject/raisedbutton.dart';
import 'package:myflutterproject/raw.dart';
import 'package:myflutterproject/refreshindicator.dart';
import 'package:myflutterproject/richtext.dart';
import 'package:myflutterproject/rotateboxdemo.dart';
import 'package:myflutterproject/scaffloaddemo.dart';
import 'package:myflutterproject/scrollwidgets.dart';
import 'package:myflutterproject/shoppinglistitem.dart';
import 'package:myflutterproject/simpledialogdemo.dart';
import 'package:myflutterproject/sizebox.dart';
import 'package:myflutterproject/sliderdemo.dart';
import 'package:myflutterproject/stack.dart';
import 'package:myflutterproject/stepper.dart';
import 'package:myflutterproject/styleswidgets.dart';
import 'package:myflutterproject/switchandcheckbox.dart';
import 'package:myflutterproject/table.dart';
import 'package:myflutterproject/text.dart';
import 'package:myflutterproject/textfield.dart';
import 'package:myflutterproject/textwidgets.dart';
import 'package:myflutterproject/theme.dart';
import 'package:myflutterproject/tooltipdemo.dart';
import 'package:myflutterproject/transform.dart';
import 'package:myflutterproject/widgets.dart';

import 'AnimatedWidgets.dart';
import 'absorbpointer.dart';
import 'actionchip.dart';
import 'aglin.dart';
import 'alertdialogdemo.dart';
import 'aligndemo.dart';
import 'animatebuilder.dart';
import 'animatedcontainer.dart';
import 'animatedcrossfade.dart';
import 'appbar.dart';
import 'appbartab.dart';
import 'aspectratiodemo.dart';
import 'asyncwidgets.dart';
import 'backdropfilter.dart';
import 'basecatalogdemo.dart';
import 'basechangedemo.dart';
import 'baseconformitydemo.dart';
import 'basecupertinowidgets.dart';
import 'baseflutterlogodemo.dart';
import 'basegeaturedemo.dart';
import 'baseline.dart';
import 'basematerialappdemo.dart';
import 'basematerialdemo.dart';
import 'basematerialwidgetsdemo.dart';
import 'baseplaceholderdemo.dart';
import 'basewidgetdemo.dart';
import 'basewidgetsdemo.dart';
import 'bottomsheetdem.dart';
import 'buttonbar.dart';
import 'carddemo.dart';
import 'chipdemo.dart';
import 'choicechip.dart';
import 'clipoval.dart';
import 'clippath.dart';
import 'columndemo.dart';
import 'constrain.dart';
import 'constrainedbox.dart';
import 'container.dart';
import 'counter.dart';
import 'cupertinoactivityindicator.dart';
import 'cupertinoavigationbar.dart';
import 'cupertinobutton.dart';
import 'cupertinodialogaction.dart';
import 'cupertinofullscreendialogtransition.dart';
import 'cupertinoslider.dart';
import 'cupertinoswitch.dart';
import 'cupertinotabbar.dart';
import 'cupertinotabview.dart';
import 'cupertionalertdialog.dart';
import 'custompaint.dart';
import 'customscrollview.dart';
import 'customsinglechildlayout.dart';
import 'dargtarget.dart';
import 'dataandtimepickers.dart';
import 'datatabledemo.dart';
import 'decoratedboxdemo.dart';
import 'defaulttextwtyle.dart';
import 'dismiss.dart';
import 'dismissible.dart';
import 'drap.dart';
import 'drawandeffectwidgets.dart';
import 'drawer.dart';
import 'expansionpaneldemo.dart';
import 'filterchip.dart';
import 'fittedbox.dart';
import 'flatbutton.dart';
import 'flow.dart';
import 'flutterchinesedemo.dart';
import 'followmeituandemo.dart';
import 'form.dart';
import 'fractionallysizebox.dart';
import 'fractionaltranslation.dart';
import 'futurebuilder.dart';
import 'gesture.dart';
import 'grid.dart';
import 'gridmore.dart';
import 'hero.dart';
import 'home.dart';
import 'horizonal.dart';
import 'ignorepointer.dart';
import 'image.dart';
import 'indexedstack.dart';
import 'inputchipdemo.dart';
import 'interactivemodelwidgets.dart';
import 'intrinsicheight.dart';
import 'intrinsicwidth.dart';
import 'layout.dart';
import 'layoutbuilder.dart';
import 'linearprogressindicatordemo.dart';
import 'list.dart';
import 'listbody.dart';
import 'longlist.dart';
import 'longpressdraggable.dart';
import 'menupage.dart';
import 'navigationbar.dart';
import 'navigationtabbar.dart';
import 'navigator.dart';
import 'navigatorpushnamed.dart';
import 'nestedscrollview.dart';
import 'nestedscrollview1.dart';
import 'nestedscrollview2.dart';
import 'normalchip.dart';
import 'notificationlistener.dart';
import 'offstage.dart';
import 'opacitydemo.dart';
import 'overflowbox.dart';

const String menuPage = "menupage";
const String homePage = "main";
const String newText = 'new_text';
const String scaffoldDemo = 'new_scaffold';
const String containerDemo = 'new_container';
const String counterDemo = 'new_counter';
const String imageDemo = 'new_image';
const String listDemo = 'new_list';
const String longlistDemo = 'new_longlist';
const String horizonalDemo = 'new_horizonal';
const String rowDemo = 'new_row';
const String griddemo = 'new_grid';
const String gridmoredemo = 'new_gridmore';
const String appbardemo = 'new_appbar';
const String appbartabdemo = 'new_appbartab';
const String layoutdemo = 'new_layout';
const String stackdemo = 'new_stack';
const String raisedbuttondemo = 'new_raisedbutton';
const String flatbuttondemo = 'new_flatbutton';
const String gesturedemo = 'new_gesture';
const String dismissdemo = 'new_dismiss';
const String switchandcheckboxdemo = 'new_checkbox';
const String textfielddemo = 'new_textfield';
const String formdemo = 'new_form';
const String themedemo = 'new_theme';
const String navigationbardemo = 'new_navigation';
const String navigationtabbardemo = 'new_navigationtabbar';
const String drawerdemo = 'new_drawer';
const String progressdemo = 'new_progress';
const String wrapdemo = 'new_wrap';
const String aglindemo = 'new_aglin';
const String constraindemo = 'new_constrain';
const String transformdemo = 'new_transformdemo';
const String followmeituandemo = 'new_meituan';
const String flutterdemo = 'new_flutter';
const String basewidget = 'new_basewidget';
const String basematerial = 'new_material';
const String basegesture = 'new_basegesture';
const String basecahngewidget = 'new_basechange';
const String baseconformity = 'new_baseconformity';
const String basecatalogwidgets = 'new_basecatalogwidgets';
const String basewidgets = 'new_basewidgets';
const String columndemo = 'new_column';
const String flutterlogodemo = 'new_flutterlogodemo';
const String placeholderdemo = 'new_placeholderdemo';
const String basematerialwidgets = 'new_placeholderdemo';
const String basematerialapp = 'new_basematerialapp';
const String navigatordemo = 'new_navigatordemo';
const String navigatorpushnamedpage = 'new_navigatorpushnamedpage';
const String buttonbardemo = 'new_buttonbardemo';
const String radiodemo = 'new_radiodemo';
const String sliderdemo = 'new_sliderdemo';
const String dataandtimepickers = 'new_dataandtimepickers';
const String simpledialogdemo = 'new_simpledialogdemo';
const String alertdialogdemo = 'new_alertdialogdemo';
const String bottomsheetdemo = 'new_bottomsheetdemo';
const String expansionpaneldemo = 'new_expansionpaneldemo';
const String normalchip = 'new_normalchip';
const String actionchipdemo = 'new_actionchipdemo';
const String chipdemo = 'new_chipdemo';
const String choicechipdemo = 'new_choicechipdemo';
const String filterchipdemo = 'new_filterchipdemo';
const String inputchipdemo = 'new_inputchipdemo';
const String tooltipdemo = 'new_tooltipdemo';
const String datatabledemo = 'new_datatabledemo';
const String carddemo = 'new_carddemo';
const String linearprogressdemo = 'new_linearprogressdemo';
const String stepperdemo = 'new_stepperdemo';
const String cupertinowidgets = 'new_cupertinowidgets';
const String cupertinoactivityindicatordemo = 'new_cupertinoactivityindicator';
const String cupertinoalertdialog = 'new_cupertinoalertdialog';
const String cupertinobutton = 'new_cupertinobutton';
const String cupertinodialogaction = 'new_cupertinodialogaction';
const String cupertinosliderdemo = 'new_cupertinosliderdemo';
const String cupertinoswitch = 'new_cupertinoswitch';
const String cupertinofullscreendialogtransition = 'new_cupertinofullscreendialogtransition';
const String cupertinonavigationbar = 'new_cupertinonavigationbar';
const String cupertinotabbar = 'new_cupertinotabbar';
const String cupertinotabview = 'new_cupertinotabview';
const String widgetsdemo = 'new_widgetsdemo';
const String paddingdemo = 'new_padding';
const String aligndemo = 'new_align';
const String fittedbox = 'new_fittedbox';
const String aspectradio = 'new_aspectradio';
const String constrainedbox = 'new_constrainedbox';
const String baseline = 'new_baseline';
const String fractionallysizebox = 'new_fractionallysizebox';
const String intrinsicheight = 'new_intrinsicheight';
const String intrinsicwidth = 'new_intrinsicwidth';
const String offstage = 'new_offstage';
const String overflowbox = 'new_overflowbox';
const String sizebox = 'new_sizebox';
const String customsinglechildlayout = 'new_customsinglechildlayout';
const String indexedstack = 'new_indexedstack';
const String flowdemo = 'new_flowdemo';
const String tabledemo = 'new_tabledemo';
const String listbody = 'new_listbody';
const String layoutbuilder = 'new_layoutbuilder';
const String textwidgets = 'new_textwidgets';
const String richtext = 'new_richtext';
const String defaulttextstyle = 'new_defaulttextstyle';
const String picsdemo = 'new_defaulttextstyle';
const String animations = 'new_animations';
const String animatedcontainer = 'new_animatedcontainer';
const String animatedcrossfade = 'new_animatedcrossfade';
const String herodemo = 'new_hero';
const String animatedbuilder = 'new_animatedbuilder';
const String interactionmodelwidgets = 'new_interactionmodelwidgets';
const String longpressgraggable = 'new_longpressgraggable';
const String dragtarget = 'new_dragtarget';
const String dismissible = 'new_dismissible';
const String ignorepointer = 'new_ignorepointer';
const String absorbpointer = 'new_absorbpointer';
const String stylewidget = 'new_stylewidget';
const String drawandeffect = 'new_drawandeffect';
const String opacitydemo = 'new_opacitydemo';
const String decoratebox = 'new_decoratebox';
const String fractionaltranslation = 'new_fractionaltranslation';
const String rotatebox = 'new_rotatebox';
const String clipovaldemo = 'new_clipovaldemo';
const String clippathdemo = 'new_clippathdemo';
const String custompaint = 'new_custompaint';
const String backdropfilter = 'new_backdropfilter';
const String asyncwidgets = 'new_asyncwidgets';
const String futuerbuilder = 'new_futuerbuilder';
const String nestedscrollview1 = 'new_nestedscrollview1';
const String nestdemo1 = 'new_nestdemo1';
const String nestdemo2 = 'new_nestdemo2';
const String scrollwidgets = 'new_scrollwidgets';
const String customscrollview = 'new_customscrollview';
const String notificationlistener = 'new_notification';
const String refreshindicator = 'new_refresh';

Map<String, WidgetBuilder> routes = <String, WidgetBuilder>{
  menuPage: (context) => MenuPage(),
  homePage: (context) => HomePage(),
  newText: (context) => TextDemo(),
  scaffoldDemo: (context) => ScaffoldDemo(),
  containerDemo: (context) => ContainerDemo(),
  counterDemo: (context) => CounterDemo(),
  imageDemo: (context) => ImageDemo(),
  listDemo: (context) => ListDemo(),
  longlistDemo: (context) => LongListDemo(),
  horizonalDemo: (context) => HorizonalDemo(),
  rowDemo: (context) => RowDemo(),
  griddemo: (context) => GridDemo(),
  gridmoredemo: (context) => GridMoreDemo(),
  appbardemo: (context) => AppbarDemo(),
  appbartabdemo: (context) => AppBarTabDemo(),
  layoutdemo: (context) => LayoutDemo(),
  stackdemo: (context) => StackDemo(),
  raisedbuttondemo: (context) => RaisedButtonDemo(),
  flatbuttondemo: (context) => FlatButtonDemo(),
  gesturedemo: (context) => GestureDemo(),
  dismissdemo: (context) => DismissDemo(),
  switchandcheckboxdemo: (context) => SwitchAndCheckbox(),
  textfielddemo: (context) => TextFieldDemo(),
  formdemo: (context) => FormDemo(),
  themedemo: (context) => ThemeDemo(),
  navigationbardemo: (context) => NavigationDemo(),
  navigationtabbardemo: (context) => NavigationTabDemo(),
  drawerdemo: (context) => DrawerDemo(),
  progressdemo: (context) => ProgressDemo(),
  wrapdemo: (context) => WrapDemo(),
  aglindemo: (context) => AglinDemo(),
  constraindemo: (context) => ConstrainDemo(),
  transformdemo: (context) => TransformDemo(),
  followmeituandemo: (context) => FollowMeiTuanDemo(),
  /*Flutter中文网*/
  flutterdemo: (context) => FlutterChineseDemo(),
  /*基础Widgets*/
  basewidget: (context) => BaseWidgetDemo(),
  basematerial: (context) => MaterialDemo(),
  basegesture: (context) => BaseGestureDemo(),
  basecahngewidget: (context) => BaseChangeWidget(),
  baseconformity: (context) => BaseConformityDemo(products: <Product>[
        Product(name: '1'),
        Product(name: '2'),
        Product(name: '3'),
        Product(name: '4'),
        Product(name: '5'),
        Product(name: '6'),
        Product(name: '7')
      ]),
  basecatalogwidgets: (context) => BaseCatalogWidgets(),
  basewidgets: (context) => BaseWidgetsDemo(),
  columndemo: (context) => ColumnDemo(),
  flutterlogodemo: (context) => FlutterLogoDemo(),
  placeholderdemo: (context) => PlaceholderDemo(),
  /*Material Components Widgets*/
  basematerialwidgets: (context) => BaseMaterialWidgets(),
  basematerialapp: (context) => MaterialAppDemo(),
  navigatordemo: (context) => NavigatorDemo(),
  navigatorpushnamedpage: (context) => NavigatorPushNamedPage(''),
  buttonbardemo: (context) => ButtonBarDemo(),
  radiodemo: (context) => RadioDemo(),
  sliderdemo: (context) => SliderDemo(),
  dataandtimepickers: (context) => DataAndTimePickers(),
  simpledialogdemo: (context) => SimpleDialogDemo(),
  alertdialogdemo: (context) => AlertDialogDemo(),
  bottomsheetdemo: (context) => BottomSheetDemo(),
  expansionpaneldemo: (context) => ExpansionPanelDemo(),
  normalchip: (context) => NormalChip(),
  actionchipdemo: (context) => ActionChipDemo(),
  chipdemo: (context) => ChipDemo(),
  choicechipdemo: (context) => ChoiceChipDemo(),
  filterchipdemo: (context) => FilterChipDemo(),
  inputchipdemo: (context) => InputChipDemo(),
  tooltipdemo: (context) => ToolTipDemo(),
  datatabledemo: (context) => DataTableDemo(),
  carddemo: (context) => CardDemo(),
  linearprogressdemo: (context) => LinearprogressDemo(),
  stepperdemo: (context) => StepperDemo(),
  cupertinowidgets: (context) => CupertinoWidgets(),
  cupertinoactivityindicatordemo: (context) => CupertinoActivityIndicatorDemo(),
  cupertinoalertdialog: (context) => CupertinoAlertDialogDemo(),
  cupertinobutton: (context) => CupertinoButtonDemo(),
  cupertinodialogaction: (context) => CupertinoDialogActionDemo(),
  cupertinosliderdemo: (context) => CupertinosliderDemo(),
  cupertinoswitch: (context) => CupertinoSwitchDemo(),
  cupertinofullscreendialogtransition: (context) => CupertinoFullscreenDialogTransitionDemo(),
  cupertinonavigationbar: (context) => CupertinoNavigationBarDemo(),
  cupertinotabbar: (context) => CupertinoTabBarDemo(),
  cupertinotabview: (context) => CupertinoTabViewDemo(),
  widgetsdemo: (context) => WidgetsDemo(),
  paddingdemo: (context) => PaddingDemo(),
  aligndemo: (context) => AlignDemo(),
  fittedbox: (context) => FittedBoxDemo(),
  aspectradio: (context) => AspectRadioDemo(),
  constrainedbox: (context) => ConstrainedBoxDemo(),
  baseline: (context) => BaselineDemo(),
  fractionallysizebox: (context) => FractionallySizedBoxDemo(),
  intrinsicheight: (context) => IntrinsicHeightDemo(),
  intrinsicwidth: (context) => IntrinsicWidthDemo(),
  offstage: (context) => OffstageDemo(),
  overflowbox: (context) => OverflowBoxDemo(),
  sizebox: (context) => SizeBoxDemo(),
  customsinglechildlayout: (context) => CustomSingleChildLayoutDemo(),
  indexedstack: (context) => IndexedStackDemo(),
  flowdemo: (context) => Flowdemo(),
  tabledemo: (context) => TableDemo(),
  listbody: (context) => ListBodyDemo(),
  layoutbuilder: (context) => LayoutBuilderDemo(),
  textwidgets: (context) => TextWidgetsDemo(),
  richtext: (context) => RichTextDemo(),
  defaulttextstyle: (context) => DefaultTexyStyleDemo(),
  picsdemo: (context) => PicWidgets(),
  animatedcontainer: (context) => AnimatedContainerDemo(),
  animations: (context) => Animations(),
  animatedcrossfade: (context) => AnimatedCrossFadeDemo(),
  herodemo: (context) => HeroDemo(),
  animatedbuilder: (context) => AnimatedBuilderDemo(),
  interactionmodelwidgets: (context) => InteractionModelWidgets(),
  longpressgraggable: (context) => LognPressGraggableDemo(),
  dragtarget: (context) => DragTargetDemo(),
  dismissible: (context) => DismissibleDemo(),
  ignorepointer: (context) => IgnorePointerDemo(),
  absorbpointer: (context) => AbsorbPointerDemo(),
  stylewidget: (context) => StyleWidgets(),
  drawandeffect: (context) => DrawandEffectWidgets(),
  opacitydemo: (context) => OpacityDemo(),
  decoratebox: (context) => DecoratedBoxDemo(),
  fractionaltranslation: (context) => FractionalTranslationDemo(),
  rotatebox: (context) => RotatedBoxDemo(),
  clipovaldemo: (context) => ClipovalDemo(),
  clippathdemo: (context) => ClipPathDemo(),
  custompaint: (context) => CustomPaintDemo(),
  backdropfilter: (context) => BackdropFilterDemo(),
  asyncwidgets: (context) => AsyncWidgets(),
  futuerbuilder: (context) => FutureBuilderDemo(),
  scrollwidgets: (context) => ScrollWidgets(),
  nestedscrollview1: (context) => NestedScrollViewDemo(),
  nestdemo1: (context) => NestedScrollViewDemo1(),
  nestdemo2: (context) => NestedScrollViewDemo2(),
  customscrollview: (context) => CustomScrollViewDemo(),
  notificationlistener: (context) => NotificationListenerDemo(),
  refreshindicator: (context) => RefreshIndicatorDemo(),
};

